package com.tiger.communal.service.impl;
import java.util.List;
import com.tiger.communal.domain.ConstructionUnitEnclosure;
import com.tiger.communal.mapper.ConstructionUnitEnclosureMapper;
import com.tiger.communal.service.IConstructionUnitEnclosureService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * 【请填写功能名称】Service业务层处理
 *
 * @author standard
 * @date 2022-09-14
 */
@Service
public class ConstructionUnitEnclosureServiceImpl implements IConstructionUnitEnclosureService
{
    @Autowired
    private ConstructionUnitEnclosureMapper constructionUnitEnclosureMapper;

    /**
     * 查询【请填写功能名称】
     *
     * @param id 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public ConstructionUnitEnclosure selectConstructionUnitEnclosureById(Long id) {
        return constructionUnitEnclosureMapper.selectConstructionUnitEnclosureById(id);
    }

    /**
     * 查询【请填写功能名称】列表
     *
     * @param constructionUnitEnclosure 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<ConstructionUnitEnclosure> selectConstructionUnitEnclosureList(ConstructionUnitEnclosure constructionUnitEnclosure) {
        return constructionUnitEnclosureMapper.selectConstructionUnitEnclosureList(constructionUnitEnclosure);
    }

    /**
     * 新增【请填写功能名称】
     *
     * @param constructionUnitEnclosure 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertConstructionUnitEnclosure(ConstructionUnitEnclosure constructionUnitEnclosure) {
        return constructionUnitEnclosureMapper.insertConstructionUnitEnclosure(constructionUnitEnclosure);
    }

    /**
     * 修改【请填写功能名称】
     *
     * @param constructionUnitEnclosure 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateConstructionUnitEnclosure(ConstructionUnitEnclosure constructionUnitEnclosure) {
        return constructionUnitEnclosureMapper.updateConstructionUnitEnclosure(constructionUnitEnclosure);
    }

    /**
     * 批量删除【请填写功能名称】
     *
     * @param ids 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteConstructionUnitEnclosureByIds(Long[] ids) {
        return constructionUnitEnclosureMapper.deleteConstructionUnitEnclosureByIds(ids);
    }

    /**
     * 删除【请填写功能名称】信息
     *
     * @param id 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteConstructionUnitEnclosureById(Long id) {
        return constructionUnitEnclosureMapper.deleteConstructionUnitEnclosureById(id);
    }

}
